<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        let haha = '[[${hello}]]';
        console.log(haha);

    </script>
</head>
<body>
<div th:include="head.html::myHeader"/>

<div th:text="${hello}">大腕好</div>
<input th:value="${hello}"/>
<p th:text="${hello}">aaa</p>
<div th:utext="${hello}"></div>
名称：[[${hello}]]<br/>
循环：
<table>
    <tr th:each="userInfo,s:${session.userInfoList}">
        <td th:text="${s.size}"></td>
        <td th:text="${userInfo.id}">ssda</td>
        <td th:text="${userInfo.name}">aas</td>
    </tr><br/>
 上面集合长度是3吗？
   <!-- <div th:text="(${userInfoList.size()} == '3')?'是':'不是'"></div>-->
    <div th:if="${userInfoList.size()} == 3">是</div>
    <div th:if="${userInfoList.size()} != 3">不是</div>
</table>
<br/>
<div th:utext="${gname}">马容</div>

</body>
</html>